package com.chb.app.service.impl;

import com.chb.app.mapper.BannerMapper;
import com.chb.app.service.BannerService;
import com.hos.entity.hos.Banner;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author: 陈海彬
 * @date: Created in 2023/12/19 15:53
 * @description:
 * @modified By:
 * @version:
 */
@Service
public class BannerServiceImpl implements BannerService {

    @Resource
    private BannerMapper bannerMapper;


    @Override
    public List<Banner> getAllBanner() {
        return this.bannerMapper.selectList(null);
    }
}